<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="<%=basePath %>/resource/js/common-css-js.js"></script>
<title>大旗科技有限公司-产品报价-产品修改</title>
</head>
<body>
	<form class="layui-form panel-body">
      <input type="hidden" name="prodId">
	  <input id="prodSupplierId" type="hidden" name="prodSupplierId">
	  <div class="layui-form-item">
	      <input type="text" name="prodName" lay-verify="required" placeholder="品名" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text" name="prodModel" lay-verify="required" placeholder="型号" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text" name="prodSpecifications" lay-verify="required" placeholder="规格" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text" name="prodSize"  placeholder="尺寸" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text" name="prodWeight" lay-verify="intNumber" placeholder="重量" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text" name="prodMaterials"  placeholder="用料" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text" name="prodType"  placeholder="种类" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text" name="prodUnit"  placeholder="单位" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text" name="prodImportFlag" lay-verify="required" placeholder="是否进口" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text" name="prodPrice" lay-verify="required|number" placeholder="价格" autocomplete="off" class="layui-input">
	  </div>
	  <%@include file="/admin/commonsPage/submit-reset.html" %>	  
	</form>
	<script type="text/javascript">
		$("#prodSupplierId").val(parent.parent.supplierObj.supArchiId);
		var productionInfo = parent.cTable.bootstrapTable('getSelections');
		for(var key in productionInfo[0]) {
		    $("input[name='"+key+"']").val(productionInfo[0][key])
		}
		requestUpdateData("/procurement/production-prise");
	</script>
</body>
</html>